<?php

namespace app\common\model;

use think\model\relation\BelongsTo;

class Driver extends BaseModel
{
    protected $hidden = ['password', 'delete_time'];

    public function company():BelongsTo
    {
        return $this->belongsTo(Company::class, 'company_id', 'id');
    }
}